home *** CD-ROM | disk | FTP | other *** search
/ ETO Development Tools 1 / ETO Development Tools 1.iso / Essentials / MacApp Documentation / MacApp AppleLink Messages / MacApp.Tech$ 11⁄3⁄89 / 0022-USES problems-Nov89 < prev    next >
Encoding:
Text File  |  1989-11-03  |  977 b   |  29 lines  |  [TEXT/GEOL]

  1. Item forwarded  by  A33          to A34
  2.  
  3. Item    9229410                         3-Nov-89        01:16
  4.  
  5. From:   SW0092                          SWD Administrator System AB, Sthlm
  6.  
  7. To:     MACAPP.TECH$                    MacApp Technical
  8.  
  9. Sub:    USES problems
  10.  
  11. Kan somebody explain the mysteries of the USES clause in Object Pascal? I am
  12. fairly new to MacApp and Object Pascal. I have read about USES in the Pascal
  13. manual. It states that units which are used in USED units have to be declared
  14. in the "host's" USES. Does this even apply to MacApp units? It also states that
  15. the order is significant. It seems to me that it is not difficult to run into a
  16. Catch-22 situation when objects refer to  objects in other units. I have three
  17. building blocks which are some interdependent. Should I put them all in the
  18. same unit?
  19.  
  20. Is there a simple rule of thumb for composing USES clauses?
  21.  
  22. I am using MPW 3.0 final.
  23.  
  24. Kent Hosselton
  25. Administrator System AB
  26. Stockholm, Sweden
  27.  
  28.  
  29.